#ifndef _STRINGLIST_H_
#define _STRINGLIST_H_

#include "BufferString.h"

class StringList
{
public:
	struct ListItem{
		BufferString str;
		int addr;
	};
	ListItem *items;
	int count;
	unsigned char *temp;
	int index;
	int size;

public:
	StringList();
	virtual ~StringList();
	int getAddr(BufferString &str);

private:
	void add(BufferString &str);
	int find(BufferString &str);
};

#endif // _STRINGLIST_H_
